package com.graduation.smartparkingplatform.Service;

import com.graduation.smartparkingplatform.Pojo.ClientCharge;
import com.graduation.smartparkingplatform.Pojo.Paid;
import com.graduation.smartparkingplatform.Pojo.SpaceInfo;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface ClientService {
  //  添加用户意见表
  public Boolean addOpinion(String title, String describe, String tel, String fileUrl);

  //  客户端获取停车位列表信息
  public SpaceInfo getSpaceInfo();

  //  客户端绑定车位
  public Boolean chooseSpace(Integer spaceId, String carPlate, String tel);

  //  客户端取消绑定车位
  public String cancelSpace(String carPlate, String tel);

  // 客户端根据车牌查询停车位
  public Map<String, String> getSpace(String carPlate);

  //  客户端缴费
  public Map<String, Double> paying(Integer spaceId) throws ParseException;

  // 获取Change列表
  public List<ClientCharge> getChargeList();

  // 获取Paid列表(15分钟)
  public List<Paid> getPaidList();
}
